Creating a docker image based on sonatype/nexus is the suggested process: plugins should be expanded to /opt/sonatype/nexus/nexus/WEB-INF/plugin-repository .
Building the Sonatype Nexus Repository image. To build a docker image from the Dockerfile you can use this command: $ docker build --rm=true --tag=sonatype/ ...
A persistent directory, /sonatype-work , is used for configuration, logs, and storage. This directory needs to be writeable by the Nexus process, which runs as ...
Building the Sonatype Nexus Repository image. To build a docker image from the Dockerfile you can use this command: $ docker build --rm=true --tag=sonatype/ ...